﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class t_BPM_CN116 : DataObject
    {
        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } } private string _ID; public static FieldInfo iD = new FieldInfo("t_BPM_CN116", "ID");
        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } } private string _Process; public static FieldInfo process = new FieldInfo("t_BPM_CN116", "Process");
        [Column]
        public int Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } } private int _Incident; public static FieldInfo incident = new FieldInfo("t_BPM_CN116", "Incident");
        [Column]
        public string UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } } private string _UserName; public static FieldInfo userName = new FieldInfo("t_BPM_CN116", "UserName");
        [Column]
        public string UserFullName { get { return _UserFullName; } set { _UserFullName = value; EntityState.FieldChange("UserFullName"); } } private string _UserFullName; public static FieldInfo userFullName = new FieldInfo("t_BPM_CN116", "UserFullName");
        [Column]
        public string Department { get { return _Department; } set { _Department = value; EntityState.FieldChange("Department"); } } private string _Department; public static FieldInfo department = new FieldInfo("t_BPM_CN116", "Department");
        [Column]
        public string ApplicationNo { get { return _ApplicationNo; } set { _ApplicationNo = value; EntityState.FieldChange("ApplicationNo"); } } private string _ApplicationNo; public static FieldInfo applicationNo = new FieldInfo("t_BPM_CN116", "ApplicationNo");
        [Column]
        public string Actions { get { return _Actions; } set { _Actions = value; EntityState.FieldChange("Actions"); } } private string _Actions; public static FieldInfo actions = new FieldInfo("t_BPM_CN116", "Actions");
        [Column]
        public string PT_BU { get { return _PT_BU; } set { _PT_BU = value; EntityState.FieldChange("PT_BU"); } } private string _PT_BU; public static FieldInfo pT_BU = new FieldInfo("t_BPM_CN116", "PT_BU");
        [Column]
        public string PT_SBU { get { return _PT_SBU; } set { _PT_SBU = value; EntityState.FieldChange("PT_SBU"); } } private string _PT_SBU; public static FieldInfo pT_SBU = new FieldInfo("t_BPM_CN116", "PT_SBU");
        [Column]
        public string PT_Department { get { return _PT_Department; } set { _PT_Department = value; EntityState.FieldChange("PT_Department"); } } private string _PT_Department; public static FieldInfo pT_Department = new FieldInfo("t_BPM_CN116", "PT_Department");
        [Column]
        public string PT_Section { get { return _PT_Section; } set { _PT_Section = value; EntityState.FieldChange("PT_Section"); } } private string _PT_Section; public static FieldInfo pT_Section = new FieldInfo("t_BPM_CN116", "PT_Section");
        [Column]
        public string PT_Job_Title { get { return _PT_Job_Title; } set { _PT_Job_Title = value; EntityState.FieldChange("PT_Job_Title"); } } private string _PT_Job_Title; public static FieldInfo pT_Job_Title = new FieldInfo("t_BPM_CN116", "PT_Job_Title");
        [Column]
        public string PT_Job_Level { get { return _PT_Job_Level; } set { _PT_Job_Level = value; EntityState.FieldChange("PT_Job_Level"); } } private string _PT_Job_Level; public static FieldInfo pT_Job_Level = new FieldInfo("t_BPM_CN116", "PT_Job_Level");
        [Column]
        public string PT_Contract_Type { get { return _PT_Contract_Type; } set { _PT_Contract_Type = value; EntityState.FieldChange("PT_Contract_Type"); } } private string _PT_Contract_Type; public static FieldInfo pT_Contract_Type = new FieldInfo("t_BPM_CN116", "PT_Contract_Type");
        [Column]
        public string PT_Legal_Entity { get { return _PT_Legal_Entity; } set { _PT_Legal_Entity = value; EntityState.FieldChange("PT_Legal_Entity"); } } private string _PT_Legal_Entity; public static FieldInfo pT_Legal_Entity = new FieldInfo("t_BPM_CN116", "PT_Legal_Entity");
        [Column]
        public string PT_Location { get { return _PT_Location; } set { _PT_Location = value; EntityState.FieldChange("PT_Location"); } } private string _PT_Location; public static FieldInfo pT_Location = new FieldInfo("t_BPM_CN116", "PT_Location");
        [Column]
        public string PT_Reason_For_Hiring { get { return _PT_Reason_For_Hiring; } set { _PT_Reason_For_Hiring = value; EntityState.FieldChange("PT_Reason_For_Hiring"); } } private string _PT_Reason_For_Hiring; public static FieldInfo pT_Reason_For_Hiring = new FieldInfo("t_BPM_CN116", "PT_Reason_For_Hiring");
        [Column]
        public string PT_Replacement_For { get { return _PT_Replacement_For; } set { _PT_Replacement_For = value; EntityState.FieldChange("PT_Replacement_For"); } } private string _PT_Replacement_For; public static FieldInfo pT_Replacement_For = new FieldInfo("t_BPM_CN116", "PT_Replacement_For");
        [Column]
        public string PT_Resigned { get { return _PT_Resigned; } set { _PT_Resigned = value; EntityState.FieldChange("PT_Resigned"); } } private string _PT_Resigned; public static FieldInfo pT_Resigned = new FieldInfo("t_BPM_CN116", "PT_Resigned");
        [Column]
        public string PT_Terminated { get { return _PT_Terminated; } set { _PT_Terminated = value; EntityState.FieldChange("PT_Terminated"); } } private string _PT_Terminated; public static FieldInfo pT_Terminated = new FieldInfo("t_BPM_CN116", "PT_Terminated");
        [Column]
        public string PT_Transferred { get { return _PT_Transferred; } set { _PT_Transferred = value; EntityState.FieldChange("PT_Transferred"); } } private string _PT_Transferred; public static FieldInfo pT_Transferred = new FieldInfo("t_BPM_CN116", "PT_Transferred");
        [Column]
        public string PT_Promoted { get { return _PT_Promoted; } set { _PT_Promoted = value; EntityState.FieldChange("PT_Promoted"); } } private string _PT_Promoted; public static FieldInfo pT_Promoted = new FieldInfo("t_BPM_CN116", "PT_Promoted");
        [Column]
        public string PT_Report_Department { get { return _PT_Report_Department; } set { _PT_Report_Department = value; EntityState.FieldChange("PT_Report_Department"); } } private string _PT_Report_Department; public static FieldInfo pT_Report_Department = new FieldInfo("t_BPM_CN116", "PT_Report_Department");
        [Column]
        public string PT_Starting_Salary { get { return _PT_Starting_Salary; } set { _PT_Starting_Salary = value; EntityState.FieldChange("PT_Starting_Salary"); } } private string _PT_Starting_Salary; public static FieldInfo pT_Starting_Salary = new FieldInfo("t_BPM_CN116", "PT_Starting_Salary");
        [Column]
        public string PT_Expected_Date { get { return _PT_Expected_Date; } set { _PT_Expected_Date = value; EntityState.FieldChange("PT_Expected_Date"); } } private string _PT_Expected_Date; public static FieldInfo pT_Expected_Date = new FieldInfo("t_BPM_CN116", "PT_Expected_Date");
        [Column]
        public string PT_Agreement { get { return _PT_Agreement; } set { _PT_Agreement = value; EntityState.FieldChange("PT_Agreement"); } } private string _PT_Agreement; public static FieldInfo pT_Agreement = new FieldInfo("t_BPM_CN116", "PT_Agreement");
        [Column]
        public string PT_Process { get { return _PT_Process; } set { _PT_Process = value; EntityState.FieldChange("PT_Process"); } } private string _PT_Process; public static FieldInfo pT_Process = new FieldInfo("t_BPM_CN116", "PT_Process");
        [Column]
        public string PT_This_Year { get { return _PT_This_Year; } set { _PT_This_Year = value; EntityState.FieldChange("PT_This_Year"); } } private string _PT_This_Year; public static FieldInfo pT_This_Year = new FieldInfo("t_BPM_CN116", "PT_This_Year");
        
        [Column]
        public string First_Approver { get { return _First_Approver; } set { _First_Approver = value; EntityState.FieldChange("First_Approver"); } } private string _First_Approver; public static FieldInfo first_Approver = new FieldInfo("t_BPM_CN116", "First_Approver");
        [Column]
        public string Final_Approver { get { return _Final_Approver; } set { _Final_Approver = value; EntityState.FieldChange("Final_Approver"); } } private string _Final_Approver; public static FieldInfo final_Approver = new FieldInfo("t_BPM_CN116", "Final_Approver");
        [Column]
        public string Third_Approver { get { return _Third_Approver; } set { _Third_Approver = value; EntityState.FieldChange("Third_Approver"); } } private string _Third_Approver; public static FieldInfo third_Approver = new FieldInfo("t_BPM_CN116", "Third_Approver");
        [Column]
        public string Fourth_Approver { get { return _Fourth_Approver; } set { _Fourth_Approver = value; EntityState.FieldChange("Fourth_Approver"); } } private string _Fourth_Approver; public static FieldInfo fourth_Approver = new FieldInfo("t_BPM_CN116", "Fourth_Approver");
        [Column]
        public string Fifth_Approver { get { return _Fifth_Approver; } set { _Fifth_Approver = value; EntityState.FieldChange("Fifth_Approver"); } } private string _Fifth_Approver; public static FieldInfo fifth_Approver = new FieldInfo("t_BPM_CN116", "Fifth_Approver");
        [Column]
        public string Sixth_Approver { get { return _Sixth_Approver; } set { _Sixth_Approver = value; EntityState.FieldChange("Sixth_Approver"); } } private string _Sixth_Approver; public static FieldInfo sixth_Approver = new FieldInfo("t_BPM_CN116", "Sixth_Approver");
        [Column]
        public string Seventh_Approver { get { return _Seventh_Approver; } set { _Seventh_Approver = value; EntityState.FieldChange("Seventh_Approver"); } } private string _Seventh_Approver; public static FieldInfo seventh_Approver = new FieldInfo("t_BPM_CN116", "Seventh_Approver");
        [Column]
        public string Inform_Recruiter { get { return _Inform_Recruiter; } set { _Inform_Recruiter = value; EntityState.FieldChange("Inform_Recruiter"); } } private string _Inform_Recruiter; public static FieldInfo inform_Recruiter = new FieldInfo("t_BPM_CN116", "Inform_Recruiter");

        
        
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("t_BPM_CN116", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("t_BPM_CN116", "Status");

    }
}
